const common = {
  smms: 'smms',
  github: 'github',
  qiniu: 'qiniu',
  aliyunoss: 'aliyunoss',
  txcos: 'txcos',
  upyun: 'upyun',
  providers: [
    {
      pid: 'github',
      title: 'GitHub',
      pageName: 'FileSettingGithub',
      params: {},
      img: './github.png',
      desc: '无限空间、流量'
    },
    {
      pid: 'smms',
      title: 'SM.MS',
      pageName: 'FileUpload',
      params: {},
      img: './smms.png',
      desc: '免费5G空间',
      limit: {
        maxSize: 5 * 1024 * 1024,
        types: ['.jpeg', '.jpg', '.png', '.gif', '.bmp']
      }
    },
    {
      pid: 'qiniu',
      title: '七牛云',
      pageName: 'FileSettingQiniu',
      params: {},
      img: './qiniu.png',
      desc: '免费10G空间'
    }, 
    {
      pid: 'aliyunoss',
      title: '阿里云OSS',
      pageName: 'FileSettingAliyunoss',
      params: {},
      img: '/aliyunoss.png',
      desc: '需个人购买'
    },
    {
      pid: 'txcos',
      title: '腾讯云COS',
      pageName: 'FileSettingTxcos',
      params: {},
      img: './txcos.png',
      desc: '需个人购买'
    },
    {
      pid: 'upyun',
      title: '又拍云',
      pageName: 'FileSettingUpyun',
      params: {},
      img: './upyun.png',
      desc: '需个人购买'
    }                                
  ],
  guide: {
    github: {
      configUrl: 'https://www.yuque.com/u34495/dqt5f5/qrp2vq'
    },
    smms: {
      configUrl: 'https://www.yuque.com/u34495/dqt5f5/wgfvaq'
    },
    qiniu: {
      configUrl: 'https://www.yuque.com/u34495/dqt5f5/cst9d2'
    },
    aliyunosssmms: {
      configUrl: 'https://www.yuque.com/u34495/dqt5f5/nva9bp'
    },
    txcos: {
      configUrl: 'https://www.yuque.com/u34495/dqt5f5/irpu1t'
    },
    upyun: {
      configUrl: 'https://www.yuque.com/u34495/dqt5f5/xiil5l'
    }
  }
}

export default common
  